package com.sb.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sb.domain.Account;

/**
 * Created by wujunzhou on 2017/10/27.
 */

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"standardName","content","fileName","encoding","decoding"})
public class SBContext extends BaseObject {

    //个人基本资料
    @JsonProperty("account")
    private Account account;
    //用户 id
    private String userId;
    //用户来源
    private String userSource;

    //险种名称
    private String standardName;
    //待解析文本
    private  String content;
    //存储文件名称
    private String  fileName;
    //设置文件存储编码
    private String  encoding;
    //设置文件存储解码
    private String  decoding;



    public SBContext() {
        account = new Account();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserSource() {
        return userSource;
    }

    public void setUserSource(String userSource) {
        this.userSource = userSource;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    public String getStandardName() {
        return standardName;
    }

    public void setStandardName(String standardName) {
        this.standardName = standardName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    public String getDecoding() {
        return decoding;
    }

    public void setDecoding(String decoding) {
        this.decoding = decoding;
    }
}
